package com.dayuanit.dy16.atm.service;

import com.dayuanit.dy16.atm.entity.User;
import com.dayuanit.dy16.atm.entity.WxBind;
import com.dayuanit.dy16.atm.vo.ForgetPwdRequestVO;

public interface IUserService {

    void signUp(String username, String pwd, String confirmPwd);

    User login(String username, String pwd);

    void bindEmail(long userId, String email);

    void activeEmail(long userId, String email, String sign, long endTime);

    void changePasword(String password, String confirmPassword, ForgetPwdRequestVO forgetPwdRequestVO);

    void sendForgetEmail(String email);

    void wxBind(String openId, String nickName, User user);

    WxBind getWxBind(String openId);

    User getUser(long userId);
}
